WooCommerce\PayPalCommerce\WcGateway\Gateway\PayPalGateway S

Total Complexity 36
Dependencies 18
Dependents 24
Total lines 444
Lines of code 176
Logical lines of code 84
Comment lines 175
Methods 13
Properties 17

Methods 13

Method Rating Maintainability Complexity Lines of code
__construct()
A
38 9 75
define_method_description()
S
56 4 24
init_form_fields()
S
55 4 19
define_method_title()
S
62 4 12
is_paypal_tab()
S
73 3 5
is_credit_card_tab()
S
76 2 4
is_webhooks_tab()
S
76 2 4
process_refund()
S
67 2 7
update_option()
S
65 2 9
needs_setup()
S
81 1 3
generate_ppcp_html()
S
69 1 7
get_transaction_url()
S
75 1 4
environment()
S
82 1 3